//
//  XTXTool.h
//  XBra
//
//  Created by 余清巍 on 2017/2/20.
//  Copyright © 2017年 余清巍. All rights reserved.
//
/////////
#import <Foundation/Foundation.h>
#import "ConsumerModel.h"

@interface XTXTool : NSObject

@property (nonatomic,assign) NSInteger islianjiewangluo;// 判断是否连接网络
@property(nonatomic,strong) NSString *getuicid;//个推cid
@property(nonatomic,strong) ConsumerModel *ConsumerModel;
@property(nonatomic,strong) NSString *duifangdetouxiangSte;//对方头像
@property (nonatomic,strong) NSUserDefaults *user ;//本地
@property (nonatomic,assign) float fasongdeyuyintiao;//发送的语音条
@property (nonatomic,assign) NSInteger xianshipanduanInterger;//显示判断(1为表情，2为选择图片)
@property (nonatomic,strong) NSMutableArray *duoxuantupianArr;//多选图片发送
@property (nonatomic,assign) NSInteger shurukuangdianjiInterger;//输入框点击（防止崩溃）
@property (nonatomic,assign) NSInteger gexingqianmingshuzipanduan;//个性签名数字判断
@property (nonatomic,assign) NSInteger panduanshiqiantaihaishihoutai;//判断前台还是后台
+ (instancetype)share;
//后台AES加密
+ (NSString *)encryptAES:(NSDictionary *)dict key:(NSString *)key;
+(void)archive:(id)ConsumerModel;
+(void)showError:(NSString *)error;
+(void)showSuccess:(NSString *)success;
+(void)show:(NSString *)str;

@end
